package cs.upt.awp.dao;

import java.util.List;

public interface DataDAO<T> {
	
	 public boolean addEntity(T entity) throws Exception;  
	 public T getEntityById(long id) throws Exception;  
	 public List<T> getEntityList() throws Exception;  
	 public boolean deleteEntity(long id) throws Exception;  

}
